<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>test_result</title>
</head>
<body>
<h2>값 받아오기</h2>
<%
	request.setCharacterEncoding("utf-8");

	String mid = request.getParameter("mid");
	String pwd = request.getParameter("pwd");
	String adr = request.getParameter("adr");
	String g = request.getParameter("gender");
%>
성명 : '<%=mid %>' <br>
암호 : '<%=pwd %>' <br>
주소 : '<%=adr %>' <br>
성별 : '<%=g %>'
<hr>
<h2>JavaBean으로 컨트롤</h2>

<jsp:useBean id="ttt" class="test.Test" scope="page"></jsp:useBean>
<jsp:setProperty property="*" name="ttt"/>
<%=ttt%>

</body>
</html>